//
//  GPSManager.h
//  YanXiuWang
//
//  Created by 慧趣小歪 on 17/1/7.
//  Copyright © 2017年 小分队. All rights reserved.
//

#import <CoreLocation/CoreLocation.h>

#define GPS [GPSManager shared]

typedef void(^GPS_MANAGER_COMPLETE)(CLLocation *location);

@interface GPSManager : NSObject <CLLocationManagerDelegate>

- (void)getLocationOnComplete:(GPS_MANAGER_COMPLETE)onComplete;

@end
#pragma mark - 单例相关
@interface GPSManager (Once)

+ (instancetype)shared;

@end
